<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>插入图片</title>
<style>
html {
	overflow: hidden;
	margin: 0px;
	height: 100%;
	width: 100%
}

body {
	margin: 0px;
	height: 100%;
	width: 100%
}

td {
	text-align: center;
	background: #ffffff
}

.Inp {
	height: 21px;
	width: 400px;
	background: #ffffff;
	border: 1px #cccccc solid;
	line-height: 21px
}

.But {
	cursor: pointer;
	width: 80px;
	height: 21px;
	border: 1px #cccccc solid;
	background: #f1f1f1
}
</style>
<body>
<script language="javascript">
function $(obj){
	return document.getElementById(obj)
}
window.returnValue="";
function InfoCode(InfoNum){
	var Str="";
	if(InfoNum==0){
		Str=""
	}else{
		Str=$("code").value
	}
	Str=Str.replace(/\'/g,""); 
	Str=Str.replace(/\"/g,"");
	Str=Str.replace(/javascript/g,"");
	Str=Str.replace(/onload/g,"");
	Str=Str.replace(/onerror/g,"");
	Str=Str.replace(/document/g,"");
	if(Str=="http://"){Str=""}
	window.returnValue=Str;
	window.close()
}
</script>
<body>
<table style='width: 100%; height: 100%' cellspacing='0' cellpadding='0'	style="background:#FFFFFF">
	<tr>
		<td style='height: 50%'><input class='Inp' id="code" value="http://" onfocus="this.select()"></td>
	</tr>
	<tr>
		<td style='height: 50%'><input type="button" class='But' value="确定" onclick="InfoCode(1)"> 
		<input type="button" class='But' value="取消" onclick="InfoCode(0)"></td>
	</tr>
</table>
</body>
</html>